﻿
using B.S.DataBase.MyProject.Domain;
using B.S.DataBase.MyProject.ErrorCode;
using B.S.DataBase.MyRead.API.DTOs;
using MediatR;

namespace B.S.DataBase.MyRead.API.Appicant.Command.ApproveCommand
{
    /// <summary>
    /// 获取审批记录(审批人名称  -- 审批结果)
    /// </summary>
    public class GetLeaveRecordCommand: IRequest<APIResult<List<UserLeaveRecordDTOs>>>
    {

        /// <summary>
        /// 请假主键
        /// </summary>
        public int? LeaveId { get; set; }

        /// <summary>
        /// 部门Id
        /// </summary>
        public int? DepId { get; set; }

        /// <summary>
        /// 当前审批级别
        /// </summary>
        public int? LevelRoleId { get; set; }
    }
}
